package com.example.springboot_mybatis.mapper;

import com.example.springboot_mybatis.bean.Student;

import java.util.List;

public interface StudentMapper {

  List<Student> selectStudent();          //查询所有
  Student selectStudentOne(String id);    //根据id查找
  void deleteStudent(String id);          //根据id删除
  void editStudent(String id,String name,String birth,String sex);   //根据id修改
  void addStudent(String id,String name,String birth,String sex);       //增加
}


